package org.dromara.genealogy.domain.vo;

import org.dromara.genealogy.domain.GeNameChildren;
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 子女信息视图对象 ge_name_children
 *
 * @author qianjunmo
 * @date 2025-09-04
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = GeNameChildren.class)
public class GeNameChildrenVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @ExcelProperty(value = "主键id")
    private Long id;

    /**
     * 谱名
     */
    @ExcelProperty(value = "谱名")
    private String name;

    /**
     * 姓氏
     */
    @ExcelProperty(value = "姓氏")
    private String lastName;

    /**
     * 父母名称
     */
    @ExcelProperty(value = "父母名称")
    private String parentName;

    /**
     * 排行
     */
    @ExcelProperty(value = "排行", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "rank")
    private String rank;

    /**
     * 性别
     */
    @ExcelProperty(value = "性别", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sys_user_sex")
    private String gender;

    /**
     * 排序
     */
    @ExcelProperty(value = "排序")
    private Long sorted;


}
